package com.xuanxu.blogs.module.user.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author XuanXu
 * @version 1.0
 * @date 2024-08-20 16:37
 */
@Data
public class UserToken implements Serializable {
    @TableId(value = "token_id", type = IdType.AUTO)
    private Long tokenId;
    private Long userId;
    private String token;
    private LocalDateTime effectiveTime;
    private Long periodValidity;
    private LocalDateTime expirationTime;
}
